package com.cvc.tracker.es;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

import android.opengl.GLSurfaceView;

class Renderer implements GLSurfaceView.Renderer {
    public void onDrawFrame(GL10 gl) {
    	CVCTrackerActivity.cap.getImageToRender();
    	CVCTrackerActivity.improc.getMatrix();
    	CVCTLib.render();
    }

    public void onSurfaceChanged(GL10 gl, int width, int height) {
    	CVCTLib.init(width, height);
    }

    public void onSurfaceCreated(GL10 gl, EGLConfig config) {
        // Do nothing.
    }
}